package cn.nfwx.tv.events;

import org.greenrobot.eventbus.EventBus;

import java.util.Map;

public class AppointEvent {

    private Map<String, String> map;

    public AppointEvent(Map<String, String> map) {
        this.map = map;
    }

    public Map<String, String> getMap() {
        return map;
    }

    /**
     * 通知播放提示
     */
    public static void postAppiontEvent(Map<String, String> map) {
        EventBus.getDefault().post(new AppointEvent(map));
    }
}
